package cn.bjit.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 加载读取application.yml中的配置
 *sms:
 *   app-code: cec54707d30548c18d2902b6e32e57f1
 *   template-id: M72CB42894
 *
 *
 */
@ConfigurationProperties(prefix = "sms")
@Configuration
@Data
public class SmsConfig {
    private String templateId;
    private String appCode;
}
